package interne;

import java.sql.Timestamp;

public class Commande {
	
	private Integer reference ;
	private Integer idClient ;
	private Timestamp date ;
	private Float montantTotal ;
	private String nomDest ;
	private String prenomDest ;
	private String adresseDest ;
	
	public Commande(Integer reference) {
		this.reference = reference ;
	}
	
	public Commande(Integer idClient, Timestamp date) {
		this.idClient = idClient;
		this.date = date;
	}

	public Commande(Integer idClient, Timestamp date,
			String nomDest, String prenomDest, String adresseDest) {
		this.idClient = idClient;
		this.date = date;
		this.nomDest = nomDest;
		this.prenomDest = prenomDest;
		this.adresseDest = adresseDest;
	}

	public Commande(Integer reference, Integer idClient, Timestamp date,
			Float montantTotal, String nomDest, String prenomDest,
			String adresseDest) {
		this.reference = reference;
		this.idClient = idClient;
		this.date = date;
		this.montantTotal = montantTotal;
		this.nomDest = nomDest;
		this.prenomDest = prenomDest;
		this.adresseDest = adresseDest;
	}

	public Integer getReference() {
		return reference;
	}

	public void setReference(Integer reference) {
		this.reference = reference;
	}

	public Integer getIdClient() {
		return idClient;
	}

	public void setIdClient(Integer idClient) {
		this.idClient = idClient;
	}

	public Timestamp getDate() {
		return date;
	}

	public void setDate(Timestamp date) {
		this.date = date;
	}

	public Float getMontantTotal() {
		return montantTotal;
	}

	public void setMontantTotal(Float montantTotal) {
		this.montantTotal = montantTotal;
	}

	public String getNomDest() {
		return nomDest;
	}

	public void setNomDest(String nomDest) {
		this.nomDest = nomDest;
	}

	public String getPrenomDest() {
		return prenomDest;
	}

	public void setPrenomDest(String prenomDest) {
		this.prenomDest = prenomDest;
	}

	public String getAdresseDest() {
		return adresseDest;
	}

	public void setAdresseDest(String adresseDest) {
		this.adresseDest = adresseDest;
	}
	
}
